<template>
	<view class="wrap">
		<view class="header">{{title}}</view>
		<view class="content">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: ''
			}
		},
		components: {},
		data() {
			return {}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.wrap {

		.header {
			width: 92%;
			margin: auto;
			margin-top: 20rpx;
			font-weight: bold;
		}
		.content{
			padding: 30rpx 0;
			background-color: white;
		}
	}
</style>
